/*
 * To change this license header, choose License Headers in Project Properties.
 * To change this template file, choose Tools | Templates
 * and open the template in the editor.
 */

package forcastTools;

import com.openbrew.openbrewrf.Hops;
import com.openbrew.openbrewrf.Malt;
import com.openbrew.openbrewrf.Supplies;
import com.openbrew.openbrewrf.Yeast;
import javax.xml.bind.annotation.XmlAccessType;
import javax.xml.bind.annotation.XmlAccessorType;
import javax.xml.bind.annotation.XmlRootElement;

/**
 *
 * @author dchapman
 */
@XmlRootElement(name="RecPOTbl")
@XmlAccessorType(XmlAccessType.FIELD)
public class RecPOTbl {
    public int vendorID;
    public int partNumber;
    public int qty;
    public int recomendedQty;
    public int warehouseID;
    public java.util.Date dueDate;
    public boolean onPO = false;
    public Hops hop;
    public Malt malt;
    public Yeast yeast;
    public Supplies supply;
    
    public RecPOTbl() {
    }
        
    public RecPOTbl(final int vendorID, final int partNo, final int qty
            , final int warehouseID, final boolean onPO, final Hops hop
            , final Malt malt, final Yeast yeast, final Supplies supply){
        super();
        this.vendorID = vendorID;
        this.partNumber = partNo;
        this.qty = qty;
        this.recomendedQty = qty;
        this.warehouseID = warehouseID;
        this.onPO = onPO;
        this.hop = hop;
        this.malt = malt;
        this.yeast = yeast;
        this.supply = supply;
    }
    
    public int getVendorID(){
        return this.vendorID;
    }
    
    public int getPartNumber(){
        return this.partNumber;
    }
    
    public int getQty(){
        return this.qty;
    }
    
    public int getWarehouseID(){
        return this.warehouseID;
    }
    
    public java.util.Date getDueDate(){
        return this.dueDate;
    }
    
    public int getRecomendedQty(){
        return this.recomendedQty;
    }
    
    public boolean getOnPO(){
        return this.onPO;
    }
    
    public void setOnPO(final boolean val){
        this.onPO = val;
    }

    public Hops getHop() {
        return hop;
    }

    public void setHop(Hops hop) {
        this.hop = hop;
    }

    public Malt getMalt() {
        return malt;
    }

    public void setMalt(Malt malt) {
        this.malt = malt;
    }

    public Yeast getYeast() {
        return yeast;
    }

    public void setYeast(Yeast yeast) {
        this.yeast = yeast;
    }

    public Supplies getSupply() {
        return supply;
    }

    public void setSupply(Supplies supply) {
        this.supply = supply;
    }
}
